package com.ym.b2b.user.dao;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.user.sqlbean.EmSUserFavorites;
import com.zc.commons.base.Page;

public interface UserFavoritesDao {

    public Page<EmSUserFavorites> searchPageUserProductFavorites(EmSUserFavorites emSUserFavorites,
                                                                 Page<EmSUserFavorites> page)
                                                                                             throws DataAccessException;

    public Long searchUserProductFavoritesNum(EmSUserFavorites emSUserFavorites) throws DataAccessException;

    public int deleteUserFavorites(Long favoritesId) throws DataAccessException;

    public Object addUserFavorites(EmSUserFavorites emSUserFavorites) throws DataAccessException;

}
